package com.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.blog.anno.ServiceLogAnno;
import com.blog.dao.UserMapper;
import com.blog.entity.User;
import com.blog.service.ILoginService;

@Service
@Transactional
public class LoginServiceImpl implements ILoginService{


	@Autowired
	private UserMapper userD;

	@Override
	public User findByUserName(String username) {

		return userD.findByUserName(username);

	}

	/**
	 * 通过用户名查询用户
	 * 
	 * @return
	 */
	

}
